< previous page page_438 next page >

Page 438
Example program Oblique uses this subroutine to display cavalier and cabinet projections of a cube. It also displays an orthographic projection of the cube for reference. You can use the left, right, up, and down arrow keys to change the viewing direction in the orthographic projection.
Perspective Projection
In a perspective projection, the projectors pass from a center of projection through each point in the object to the plane of projection. Because the projectors pass through a single point, the projection of an object far from the center of projection is smaller than the projection of an object that is closer.
Figure 13.17 shows the perspective projection of two squares. The square that is further from the center of projection is projected into a smaller image on the plane of projection. This effect is called foreshortening.
One of the consequences of foreshortening is that the projections of parallel lines that are not parallel to the plane of projection appear to converge. Because the lines are not parallel to the plane of projection, one end of the lines is further from the center of projection than the other. Foreshortening makes the distance between the projections of the lines at that end smaller, so the lines appear to move closer together. Figure 13.18 shows two parallel lines and their perspective projections converging.
The point at which the projection of two parallel lines would meet if they were extended is called a vanishing point. A vanishing point where lines parallel to a coordinate axis would meet is called a principal vanishing point.
Perspective projections are classified by the number of principal vanishing points they contain. This is determined by the relationship between the plane of projection and the coordinate axes. If the plane of projection is parallel to two coordinate axes, the projection has one principal vanishing point. All lines that are parallel to the third coordinate axis have projections that lead toward this vanishing point.
0438-01.gif
Figure 13.17
Objects farther from the center of projection
appear smaller than closer objects.

 
< previous page page_438 next page >